• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: why is my download request using HTTP POST is split in header and body ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why is my download request using HTTP POST is split in header and body ?


  • Subject: Re: why is my download request using HTTP POST is split in header and body ?
  • From: Becky Willrich <email@hidden>
  • Date: Thu, 13 May 2004 09:21:32 -0700

When I run this code I do not get proper answers. To see what's wrong I run
a sniffer (ettercap) the sniffer shows that the header part is sent to the
server, then the server reponds with "HTTP/1.1 400 Bad request", and then my
code simply continues with sending the message body.
To me it seems that header and body should be sent in 1 transfer instead of
being split in two parts.
Does anyone have an idea why this happens?

One other thing you can try - verify (by sniffing software that succeeds at doing the POST, or by just hacking something together that only uses a single packet) that the packet boundary is the problem, and not something else like the server not liking a particular header field, or needing a header field that hasn't been set, or something like that. It's very weird to require that the entire request appear in a single packet.

REW
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


References: 
 >why is my download request using HTTP POST is split in header and body ? (From: "Hans Loonen" <email@hidden>)

  • Prev by Date: Re: why is my download request using HTTP POST is split in header and body ?
  • Next by Date: Re: why is my download request using HTTP POST is split in header and body ?
  • Previous by thread: Re: why is my download request using HTTP POST is split in header and body ?
  • Next by thread: Re: why is my download request using HTTP POST is split in header and body ?
  • Index(es):
    • Date
    • Thread