Search the web
Sign In
New User? Sign Up
plazesapi
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
411 Length Required   Message List  
Reply | Forward Message #105 of 236 |
Hi Til (et all),

my request is versus https://sandbox.plazes.com/sessions.xml

This is what I get in response:
<html>
<head><title>411 Length Required</title></head>
<body bgcolor="white">
<center><h1>411 Length Required</h1></center>
<hr><center>nginx/0.5.35</center>
</body>
</html>

Btw, it works when I issue the same via curl - I just have no idea
what I need to supply in terms of "Length" here.

Obviously the request is a "POST" and I am not sending a "body" along.
I tried to send an empty body ('') - but that didn't help either. Is
this anything you can do about this? I'm not too up to date on HTTP
spec, but if Content-Length is absolutely required and not set - then
I guess it's a bug somewhere else.


Thanks,
Till




Sun Jan 13, 2008 2:25 pm

till1982
Offline Offline
Send Email Send Email

Forward
Message #105 of 236 |
Expand Messages Author Sort by Date

Hi Til (et all), my request is versus https://sandbox.plazes.com/sessions.xml This is what I get in response: <html> <head><title>411 Length...
Till
till1982
Offline Send Email
Jan 13, 2008
2:25 pm

... Your client needs to include this http header in the request: Content-Length: 0 According to the http spec this header SHOULD be included in every POST...
Tilmann Singer
tilz3000
Offline Send Email
Jan 14, 2008
10:34 am

... Yeah, if it's spec - no problem. I got it working with Content-Length 0 already. Got a link handy from the spec? Thanks, Till...
till
till1982
Offline Send Email
Jan 14, 2008
10:36 am

... http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13 "Applications SHOULD use this field to indicate the transfer-length of the message-body,...
Tilmann Singer
tilz3000
Offline Send Email
Jan 14, 2008
10:40 am

... Thanks....
till
till1982
Offline Send Email
Jan 14, 2008
10:58 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help