[Qt-interest] Help Required to Perform HTTP Put using QNetworkAccessManger

Thiago Macieira thiago at kde.org
Wed Dec 1 08:39:43 CET 2010


On Wednesday, 1 de December de 2010 06:57:24 Gargi Das wrote:
>     nam->put(request,data);
> 
> 
> 
> 
> whrere nam is a QNetworkAccessManger, in the reply of the this request
> i should get a success ful xml but instead i get a vague html login
> page.

That means you actually succeeded in doing an HTTP PUT.

However, the server or a proxy in-between denied the PUT and instead showed 
something else for you. Please consult the documentation for the service 
you're trying to PUT to and find out if you have supplied the correct 
credentials.

I also recommend capturing the wire traffic from your application and one that 
works. Compare the two to find out what you're not sending that could be the 
source of the issue.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101201/c4b77456/attachment.bin 


More information about the Qt-interest-old mailing list