Полезная информация

Perl in a Nutshell

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


 $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:


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.


A short string describing the status code.


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

Previous: Reference: antique_clientPerl in a NutshellNext: Reference: send_basic_header
Reference: antique_clientBook IndexReference: send_basic_header