6.2.4 HTTP client 통신 코드
HTTP 주요 응답 코드
Informational
100
continue
101
Switching protocols
Success
200
OK
201
Created
202
Accepted
203
Non-authoritative information
204
No content
Redirection
301
Moved permanently
302
Not temporarily
303
Not modified
Client error
400
Bad Request
401
Unauthorized
402
Payment required
403
Forbidden
404
Not found
405
Method not allowed
407
Proxy authentication required
408
Request timeout
410
Gone
412
Precondition failed
414
Request-URI too long
Server error
500
Internal server error
501
Not implemented
503
Service unnailable
504
Gateway timeout
505
HTTP version not supported
에러 코드(Exception)
RequestException
-1
There was an ambiguous exception that occurred while handling your request.
ConnectionErr
-2
In the event of a network problem (e.g. DNS failure, refused connection, etc)
HTTPError
-3
It will occur if the HTTP request returned an unsuccessful status code.
URLRequired
-4
A valid URL is required to make a request.
TooManyRedirects
-5
If a request exceeds the configured number of maximum redirections, a TooManyRedirects exception is raised.
Timeout
-6
If a request times out, a Timeout exception is raised.
Last updated
Was this helpful?