Skip to content

Commit

Permalink
[Specification] Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
kylef committed Mar 28, 2015
1 parent 4c7e530 commit a8b58d3
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Specification.md
Expand Up @@ -18,10 +18,17 @@ The full type of the application function is as follows:
([String:AnyObject]) -> (String, [(String, String)], String?)
```

## Server

The server or gateway invokes the applications function once for each request
from a client.

## Details

### Environment

- `REQUEST_METHOD`
- `PATH_INFO`
- `REQUEST_METHOD` (String) - The HTTP request method, such as “GET” or “POST”.
- `PATH_INFO` (String) - The HTTP Path.

### The Response

Expand All @@ -37,7 +44,3 @@ The headers is an array of tuples containing the key and value for each HTTP hea

The body must be a String or nil.

## Server

The server or gateway invokes the applications function once for each request
from a client.

0 comments on commit a8b58d3

Please sign in to comment.