Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to get the actual http response error code from request and not NetworkError-enum
Forum Updated to NodeBB v4.3 + New Features

How to get the actual http response error code from request and not NetworkError-enum

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 890 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    umen242
    wrote on last edited by
    #1

    Hello
    im doing simple http requests and something getting http errors , i want to translate them or convert them from NetworkError-enum
    to real http numbers , or get them in other way from the request .
    is there any way to do it ?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      Note that if you get a NetworkError, then there is no http response error code to be had. For HTTP, you need to have a working network first...

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved