HTTP/Code - Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : HTTP/Code

HTTP[Code] - lookup an HTTP status code

Calling Sequence

Code(value)

Parameters

value

-

a three digit integer value of an HTTP return code

Description

• 

Code returns the text message that corresponds to the status code of the value parameter.  The procedure will throw an error if an unknown or invalid status code is given.

• 

A list of valid HTTP/1.1 status codes can be found in section 10 of RFC 2616.

Examples

HTTP:-Code200

OK

(1)

HTTP:-Code404

Not Found

(2)

HTTP:-Code1

Error, (in HTTP:-Code) unknown HTTP status code, 1

See Also

HTTP, HTTP[Get], HTTP[Post]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam