Pudu programming language
Menu
API reference

Std.Http.Method

1 declaration

type

Method

This declaration introduces a public type.

What it does

A request method.

The closed set the protocol defines, plus Other for a method a server

accepts that this list does not name: refusing to represent one would make

the type useless for the servers that have them.

Query carries its terms in the request's own body rather than in the

target. A search whose terms do not fit a target — because they are long,

deeply structured, or should not sit in a log or a history — was otherwise

sent as a post, which says the request changes something and so may be

neither cached nor retried. This says what such a request actually is: safe,

idempotent, and cacheable, with the terms in the body.

Read the signature

  • This declaration has no value signature because it introduces a type or trait.

Back to Std.HttpSearch related declarations