Branch: Tag:

2009-11-14

2009-11-14 12:26:04 by Martin Stjernholm <mast@lysator.liu.se>

Same thing for do_method_url.

Rev: lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:1.24

1:   #pike __REAL_VERSION__    - // $Id: Session.pike,v 1.23 2009/10/30 18:51:24 mast Exp $ + // $Id: Session.pike,v 1.24 2009/11/14 12:26:04 mast Exp $      import Protocols.HTTP;   
754:   {    if (method=="POST")    extra_headers= -  (extra_headers||([]))+ -  (["content-type":"application/x-www-form-urlencoded"]); +  (["content-type":"application/x-www-form-urlencoded"])+ +  (extra_headers||([]));       Request p=Request();    p->do_sync(p->prepare_method(method,url,query_variables,