Hi James,

> --- HTTP POST ---
> POST /openam/namingservice HTTP/1.0
> User-Agent: OpenAM Web Agent/4.0.0
> Connection: close
> Accept: text/xml
>
> Content-Type: text/xml; charset=UTF-8
>
> Host: openam.gw.com
> Content-Length: 260
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> [...]

I don't think this is a valid HTTP/1.0 request:

- the header ends with Accept: text/xml, because there is a newline after it.
- the (real) header doesn't contain Content-Length
- HTTP/1.0 specifications require Content-Length in the request:

http://www.w3.org/Protocols/HTTP/1.0/spec.html#POST
> A valid Content-Length is required on all HTTP/1.0 POST requests. An
> HTTP/1.0 server should respond with a 400 (bad request) message if it
> cannot determine the length of the request message's content.



Regards,

Lukas                                     

Reply via email to