8 Replies Latest reply on Jan 27, 2012 2:49 AM by alexeyo

    Why does LrHttp.get add Content-Type=text/plain explicitly to headers ???

    alexeyo Newcomer

      Hi everybody,

       

      I'm not just curious about my subject,- this is really serious as far as it breaks an idea of Live SkyDrive plugin development.

      When I make a very simple call to Windows Live REST API via LrHttp.get I always get error response from Live services API

      saying that Content-Type header is not expected with http "GET" verb! And, yes, IMHO people from MS are right: what is a reason to

      add such header if HTTP GET doesn't imply request-body ? Did somebody here also notice this strange behavior and know how to make

      LrHttp.get behave more "politely"? Because, I'm about to consider this as a bug

       

      Thanks.