.Net, IIS6 and '307' responses

2010-11-23
2013-06-06
  • Paul Barker
    Paul Barker
    2010-11-23

    Hi,

    Has anyone else come across '307' responses from a .Net service on IIS6?

    I'm using NuSOAP 0.9.4 and I switched to using cURL so it follows redirects, etc. when getting the WSDL but cURL actually comes back with two headers: a '307' (temporary redirect) followed by a '200' (the OK).

    This causes NuSOAP to raise 'unrecognised response code' errors.

    I found the solution was to add 'HTTP/1.1 307' to the list in the isSkippableHeader() function.

    Can anyone advise whether that's a legitimate solution?

    Regards,

    Paul.

     
  • Scott Nichol
    Scott Nichol
    2011-01-13

    I am making this change to my working copy.