Skip to Content
Perl & LWP
book

Perl & LWP

by Sean M. Burke
June 2002
Intermediate to advanced
260 pages
6h 51m
English
O'Reilly Media, Inc.
Content preview from Perl & LWP

Appendix B. HTTP Status Codes

You can find a detailed explanation of each status code in RFC 2616 (Hypertext Transfer Protocol—HTTP/1.1) at http://www.rfc-editor.org.

100s: Informational

If an LWP request gets either of these rarely used codes, $response->is_info will be true. For all other status codes, $response->is_info will be false.

100 Continue
101 Switching Protocols

200s: Successful

If an LWP request gets any of these codes, $response->is_success will be true. For all other status codes, $response->is_success will be false.

200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content

300s: Redirection

If an LWP request gets any of these codes, $response->is_redirect will be true. For all other status codes, $response->is_redirect will be false.

300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
304 Not Modified
305 Use Proxy
307 Temporary Redirect

400s: Client Errors

If an LWP request gets any of these 400-series codes, $response->is_error will be true, as it will be for any of the 500-series codes. For all other status codes, $response->is_error will be false.

400 Bad Request 401 Unauthorized 402 Payment Required 403 Forbidden 404 Not Found 405 Method Not Allowed 406 Not Acceptable 407 Proxy Authentication Required 408 Request Timeout 409 Conflict 410 Gone 411 Length Required 412 Precondition Failed 413 Request Entity Too Large 414 Request-URI Too Long 415 Unsupported Media Type 416 Requested Range Not Satisfiable ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Higher-Order Perl

Higher-Order Perl

Mark Jason Dominus
Pro Perl

Pro Perl

Peter Wainwright
Perl Testing: A Developer's Notebook

Perl Testing: A Developer's Notebook

Ian Langworth, Chromatic

Publisher Resources

ISBN: 0596001789Errata Page