Loading ...
Sorry, an error occurred while loading the content.

13944Re: Post params don't show up on server side

Expand Messages
  • tssha
    May 30, 2007
    • 0 Attachment
      --- In ydn-javascript@yahoogroups.com, "jameschao122" <jchao@...> wrote:
      >
      > OK, seems like the problem is with the "Content-Type" header.
      >
      > By default, it is "application/x-www-form-urlencoded; charset=UTF-8".
      >
      > When I change it to "application/x-www-form-urlencoded", it works.
      >
      > Does anybody know if this is the right way to do it or why the default
      > value doesn't work??
      >
      > BTW, this is the code I'm doing to change the header:
      >
      > YAHOO.util.Connect.setDefaultPostHeader(false);
      > YAHOO.util.Connect.initHeader('Content-Type',
      > 'application/x-www-form-urlencoded');

      Interesting. Can you show the actual POST message you're sending as
      the fourth argument?

      Regards,
      Thomas
    • Show all 8 messages in this topic