×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    43

    Nokia receives a different http response code then sent

    Hello

    The server sends a response with a content (httpConnection.getLength()>0), encoded in UTF8 and the response code is 200 (i.e ok)

    Then when using Nokia 3120 the response code I get is 502! (Bad gateway)
    When using an emulator or Nokia 6021 I get code 200

    When the content of the http response is empty (httpConnection.getLength()=0), I get the real response code the server sent – 200

    (also the content is not readable. ( on 6021 but in the emulator and 6020 it is!))

    Does any one know why? Does any one has a solution for getting the right response code and a readable content

    Thanks!

  2. #2
    Registered User
    Join Date
    Jul 2006
    Posts
    43

    Re: Nokia receives a different http response code then sent

    Problem solved!
    The problem was that the http type was text/html. When changing it to text/plain the problem was solved

Similar Threads

  1. HTTP POST using Nokia 7650
    By mikael_kinnunen in forum Mobile Java Networking & Messaging & Security
    Replies: 8
    Last Post: 2008-08-19, 23:32
  2. Nokia 7650 support Bluetooth audo?
    By ovjo12 in forum Bluetooth Technology
    Replies: 5
    Last Post: 2003-07-17, 18:50

Posting Permissions

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