×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    45

    Sending HTTP GET request with body

    Hi everybody,

    I was wondering if any of you ever had the need to send a HTTP GET request with a body from a symbian device.
    Because of the validation filter, my transaction is always cancelled with KErrHttpRequestHasBody result. Is there a way of removing the filter or sending the GET request with a body without having to implement my own http client?
    I know GET with body is not a good practice but I'm forced by the backend I'm using.

    Regards,
    Catalin

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,697

    Re: Sending HTTP GET request with body

    You can still use RSocket, it will allow you to send any kind of malformed requests. However are you absolutely sure about that your server can handle GET with body? (Which is generally a non-existing thing)

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    45

    Re: Sending HTTP GET request with body

    I'm pretty sure that the server can handle GET request with body as this is part of the client's badly implemented REST web service and unfortunately we are constrained by it (it works on other platforms). Anyway, I found a solution that seems to be viable by removing the validation filter and replace it with another custom filter.

    Catalin

Similar Threads

  1. http request with httplib
    By shawnjan8 in forum Symbian
    Replies: 1
    Last Post: 2008-11-06, 03:04
  2. HTTP request problem
    By Asif Nazir in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-04-09, 09:28
  3. Problem with HTTP POST
    By thathoo in forum Mobile Java General
    Replies: 2
    Last Post: 2006-12-18, 18:23
  4. problem sending an http request with # in it.
    By jaazz in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-12-06, 10:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×