On 3 Apr 2008, at 22:11, e_baggg wrote:
> anyone see anything wrong with this?:
>
> POST /xmsv2/api/usermgmt/createUser.cmd HTTP/1.0
> Host: www.example.com

I don't think HTTP/1.0 supports the Host header. Can you try with HTTP/ 
1.1


>
> Authorization: Digest username="dev", realm="myapp",
> nonce="e0cc32f1f78566187e90a49547ec07f8", uri="/admin/createUser.cmd",
> qop=auth, nc=2, cnonce="0a4f113b",
> response="aecf8d679c507f1d194db5463b0c1695",
> opaque="217361470610c797d3e04ab317280cc5"
> Content-Type: text/plain
> username=aaa&firstName=a&lastName=aa&password=a&emailAddress=aaa
>
> After each line is \r\n and the last line has \r\n\r\n


When you say the last line has \r\n\r\n, do you mean after the Content- 
Type header? If not, that's where it should go.

You don't have a Content-Length header. I think this is required in  
requests from the client.

Cheers
Dave

Reply via email to