start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: antique_client Chapter 17
The LWP Library
Next: Reference: send_basic_header
 

send_status_line

 $

c


->send_status_line
 ( [

code

, [

msg

, [

proto

]]] )

Sends the status line composed of the given arguments back to the client. If the arguments are given, the default status line is sent as HTTP/1.1 200 OK . The arguments are:

code

The numeric code indicating the status of the request, e.g., 200 for an OK request or 404 for a request for a resource that doesn't exist.

msg

A short string describing the status code.

proto

A string indicating the protocol and version number used by the server, e.g., HTTP/1.1.


Previous: Reference: antique_client Perl in a Nutshell Next: Reference: send_basic_header
Reference: antique_client Book Index Reference: send_basic_header

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.