Changeset 15024 in project


Ignore:
Timestamp:
06/18/09 22:50:10 (10 years ago)
Author:
sjamaan
Message:

Add docs for response-class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/intarweb

    r14980 r15024  
    108108* <procedure>(response-code RESPONSE) => NUMBER</procedure>
    109109* <procedure>(response-reason RESPONSE) => STRING</procedure>
     110* <procedure>(response-class RESPONSE-OR-CODE) => NUMBER</procedure>
    110111* <procedure>(response-major RESPONSE) => NUMBER</procedure>
    111112* <procedure>(response-minor RESPONSE) => NUMBER</procedure>
     
    115116and reason are an integer status code and the short message that
    116117belongs to it, as defined in the spec (examples include: 200 OK, 301
    117 Moved Permanently, etc).
     118Moved Permanently, etc).  class is the major class of the response
     119code (100, 200, 300, 400 or 500).  {{response-class}} can be called
     120either on a response object or directly on a response code number.
    118121
    119122A server will usually write a response, a client will read it.
Note: See TracChangeset for help on using the changeset viewer.