Skip to content

Commit

Permalink
Merge branch 'master' of github.com:node-nock/nock
Browse files Browse the repository at this point in the history
  • Loading branch information
pgte committed Apr 13, 2016
2 parents bf6aee3 2246d7f commit 52c8a26
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 17,20 @@ For instance, if a module performs HTTP requests to a CouchDB server or makes HT

- [Install](#install)
- [Use](#use)
- [READ THIS](#read-this---about-interceptors)
- [Specifying domain](#specifying-domain)
- [READ THIS! - About interceptors](#read-this---about-interceptors)
- [Specifying hostname](#specifying-hostname)
- [Specifying path](#specifying-path)
- [Specifying request body](#specifying-request-body)
- [Specifying request query string](#specifying-request-query-string)
- [Specifying replies](#specifying-replies)
- [Replying with errors](#replying-with-errors)
- [Specifying headers](#specifying-headers)
- [Header field names are case-insensitive](#header-field-names-are-case-insensitive)
- [Specifying Request Headers](#specifying-request-headers)
- [Specifying Reply Headers](#specifying-reply-headers)
- [Default Reply Headers](#default-reply-headers)
- [Including Content-Length Header Automatically](#including-content-length-header-automatically)
- [Including Date Header Automatically](#including-date-header-automatically)
- [HTTP Verbs](#http-verbs)
- [Support for HTTP and HTTPS](#support-for-http-and-https)
- [Non-standard ports](#non-standard-ports)
Expand Down Expand Up @@ -54,10 58,21 @@ For instance, if a module performs HTTP requests to a CouchDB server or makes HT
- [`dont_print` option](#dontprint-option)
- [`output_objects` option](#outputobjects-option)
- [`enable_reqheaders_recording` option](#enablereqheadersrecording-option)
- [`logging` option](#logging-option)
- [`use_separator` option](#useseparator-option)
- [.removeInterceptor()](#removeinterceptor)
- [Events](#events)
- [Global no match event](#global-no-match-event)
- [Nock Back](#nock-back)
- [Setup](#setup)
- [Options](#options)
- [Usage](#usage)
- [Options](#options)
- [Modes](#modes)
- [How does it work?](#how-does-it-work)
- [Debugging](#debugging)
- [PROTIP](#protip)
- [Generate Changelog](#generate-changelog)
- [License](#license)

<!-- markdown-toc end -->
Expand Down Expand Up @@ -1258,7 1273,7 @@ to set the mode call `nockBack.setMode(mode)` or run the tests with the `NOCK_BA
Nock works by overriding Node's `http.request` function. Also, it overrides `http.ClientRequest` too to cover for modules that use it directly.
#Debugging
# Debugging
Nock uses debug, so just run with environmental variable DEBUG set to nock.*
```js
Expand Down

0 comments on commit 52c8a26

Please sign in to comment.