HTTP/Code - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : HTTP/Code

HTTP

  

Code

  

lookup an HTTP status code

 

Calling Sequence

Parameters

Description

Examples

Compatibility

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

Compatibility

• 

The HTTP[Code] command was introduced in Maple 15.

• 

For more information on Maple 15 changes, see Updates in Maple 15.

See Also

HTTP

HTTP[Get]

HTTP[Post]