Skip to content

Commit b734494

Browse files
committed
Fix section titles in readme
1 parent 4f43b9a commit b734494

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fcgi.createServer(function(req, res) {
3333
}).listen();
3434
```
3535

36-
## Server constructor
36+
## Server constructor
3737

3838
The `createServer` function takes four **optional** parameters:
3939

@@ -80,7 +80,7 @@ fcgi.createServer(function (req, res) { /* ... */ }, {
8080

8181
**WARNING: The `valueMap` API is a bad design choice and is going to change in the future.**
8282

83-
## Listening for connections
83+
## Listening for connections
8484

8585
When a FastCGI service is started, the stdin descriptor (fd 0) [is replaced by a bound socket](https://fast-cgi.github.io/spec#accepting-transport-connections). The service application can then start listening on that socket and accept connections.
8686

@@ -120,7 +120,7 @@ Authorizer requests may have no url. Response objects for the authorizer role co
120120

121121
Filter requests have an additional data stream exposed by the `dataStream` property of [the socket object](#the-socket-object) (`req.socket.dataStream`).
122122

123-
## The socket object
123+
## The socket object
124124

125125
The socket object exposed in requests and responses implements the `stream.Duplex` interface. It exposes the FastCGI stdin stream (request body)
126126
and translates writes to stdout FastCGI records.
@@ -131,7 +131,7 @@ The socket object exposes three additional properties:
131131
- `dataStream` implements `stream.Readable`, exposes the FastCGI data stream for the filter role.
132132
- `errorStream` implements `stream.Writable`, translates writes to stderr FastCGI Records.
133133

134-
## http module compatibility
134+
## http module compatibility
135135

136136
The API is almost compatible with the http module from node v0.12 all the way to v6.x (the current series). Only the server API is implemented.
137137

@@ -144,7 +144,7 @@ Differences:
144144
- `req.trailers` will always be empty: CGI scripts never receive trailers
145145
- `res.writeContinue()` works as expected but should not be used. See first item
146146

147-
# License
147+
# License
148148

149149
The MIT License (MIT)
150150

0 commit comments

Comments
 (0)