@@ -9,7 +9,7 @@ Deflate/Inflate. It can be accessed using:
99const zlib = require (' zlib' );
1010```
1111
12- Compressing or decompressing a stream (such as a file) can be accomplished by
12+ Compressing or decompressing a stream (such as a file) can be accomplished by
1313piping the source stream data through a ` zlib ` stream into a destination stream:
1414
1515``` js
@@ -46,12 +46,12 @@ zlib.unzip(buffer, (err, buffer) => {
4646## Compressing HTTP requests and responses
4747
4848The ` zlib ` module can be used to implement support for the ` gzip ` and ` deflate `
49- content-encoding mechanisms defined by
49+ content-encoding mechanisms defined by
5050[ HTTP] ( https://tools.ietf.org/html/rfc7230#section-4.2 ) .
5151
5252The HTTP [ ` Accept-Encoding ` ] [ ] header is used within an http request to identify
53- the compression encodings accepted by the client. The [ ` Content-Encoding ` ] [ ]
54- header is used to identify the compression encodings actually applied to a
53+ the compression encodings accepted by the client. The [ ` Content-Encoding ` ] [ ]
54+ header is used to identify the compression encodings actually applied to a
5555message.
5656
5757** Note: the examples given below are drastically simplified to show
@@ -230,7 +230,7 @@ not surprising. This section is taken almost directly from the
230230[ zlib documentation] [ ] . See < http://zlib.net/manual.html#Constants > for more
231231details.
232232
233- * Note* : Previously, the constants were available directly from
233+ * Note* : Previously, the constants were available directly from
234234` require('zlib') ` , for instance ` zlib.Z_NO_FLUSH ` . Accessing the constants
235235directly from the module is currently still possible but should be considered
236236deprecated.
@@ -444,8 +444,8 @@ Returns a new [Unzip][] object with an [options][].
444444
445445<!-- type=misc-->
446446
447- All of these take a [ Buffer] [ ] or string as the first argument, an optional
448- second argument to supply options to the ` zlib ` classes and will call the
447+ All of these take a [ Buffer] [ ] or string as the first argument, an optional
448+ second argument to supply options to the ` zlib ` classes and will call the
449449supplied callback with ` callback(error, result) ` .
450450
451451Every method has a ` *Sync ` counterpart, which accept the same arguments, but
0 commit comments