HTTP PUT Case-Sensitivity Woes

flashrightflashright Registered Users Posts: 1 Beginner grinner
The HTTP 1.1 spec specifies that headers should be case-insensitive, but the upload is currently case-sensitive. I was getting an error value return (nogallery), but I finally started playing around with headers in Fiddler and figured out that it's because the XmlHttpRequest object's setRequestHeader method creates the header as "x-smug-albumid", but the server doesn't like it unless it's passed as "X-Smug-AlbumID". I can't see any way around this... any chance of a fix?

Also, the HTTP PUT doesn't appear to return JSON results right now... is that correct?

Thanks!

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited May 13, 2007
    Hi flashright,

    Yes, you're correct about JSON, I need to do something about that.

    I will also check into Case-Sensitivty thing as well.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
Sign In or Register to comment.