Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

request

Package Overview
Dependencies
Maintainers
4
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

request - npm Package Versions

1
13

2.39.0

Diff

Changelog

Source

v2.39.0 (2014/07/24)

  • #976 Update README.md (@pvoznenko)
mikeal
published 2.38.0 •

Changelog

Source

v2.38.0 (2014/07/22)

  • #952 Adding support to client certificate with proxy use case (@ofirshaked)
  • #884 Documented tough-cookie installation. (@wbyoung)
  • #935 Correct repository url (@fritx)
  • #963 Update changelog (@nylen)
  • #960 Support gzip with encoding on node pre-v0.9.4 (@kevinoid)
  • #953 Add async Content-Length computation when using form-data (@LoicMahieu)
  • #844 Add support for HTTP[S]_PROXY environment variables. Fixes #595. (@jvmccarthy)
  • #946 defaults: merge headers (@aj0strow)
mikeal
published 2.37.0 •

Changelog

Source

v2.37.0 (2014/07/07)

  • #957 Silence EventEmitter memory leak warning #311 (@watson)
  • #955 check for content-length header before setting it in nextTick (@camilleanne)
  • #951 Add support for gzip content decoding (@kevinoid)
  • #949 Manually enter querystring in form option (@charlespwd)
  • #944 Make request work with browserify (@eiriksm)
  • #943 New mime module (@eiriksm)
  • #927 Bump version of hawk dep. (@samccone)
  • #907 append secureOptions to poolKey (@medovob)
mikeal
published 2.36.0 •

mikeal
published 2.35.0 •

Changelog

Source

v2.35.0 (2014/05/17)

  • #901 Fixes #555 (@pigulla)
  • #897 merge with default options (@vohof)
  • #891 fixes 857 - options object is mutated by calling request (@lalitkapoor)
  • #869 Pipefilter test (@tgohn)
  • #866 Fix typo (@dandv)
  • #861 Add support for RFC 6750 Bearer Tokens (@phedny)
  • #809 upgrade tunnel-proxy to 0.4.0 (@ksato9700)
  • #850 Fix word consistency in readme (@0xNobody)
  • #810 add some exposition to mpu example in README.md (@mikermcneil)
  • #840 improve error reporting for invalid protocols (@FND)
  • #821 added secureOptions back (@nw)
  • #815 Create changelog based on pull requests (@lalitkapoor)
mikeal
published 2.34.0 •

Changelog

Source

v2.34.0 (2014/02/18)

  • #516 UNIX Socket URL Support (@lyuzashi)
  • #801 794 ignore cookie parsing and domain errors (@lalitkapoor)
  • #802 Added the Apache license to the package.json. (@keskival)
  • #793 Adds content-length calculation when submitting forms using form-data li... (@Juul)
  • #785 Provide ability to override content-type when json option used (@vvo)
  • #781 simpler isReadStream function (@joaojeronimo)
mikeal
published 2.33.0 •

mikeal
published 2.32.0 •

Changelog

Source

v2.32.0 (2014/01/16)

  • #767 Use tough-cookie CookieJar sync API (@stash)
  • #764 Case-insensitive authentication scheme (@bobyrizov)
  • #763 Upgrade tough-cookie to 0.10.0 (@stash)
  • #744 Use Cookie.parse (@lalitkapoor)
  • #757 require aws-sign2 (@mafintosh)
mikeal
published 2.31.0 •

Changelog

Source

v2.31.0 (2014/01/08)

  • #645 update twitter api url to v1.1 (@mick)
  • #746 README: Markdown code highlight (@weakish)
  • #745 updating setCookie example to make it clear that the callback is required (@emkay)
  • #742 Add note about JSON output body type (@iansltx)
  • #741 README example is using old cookie jar api (@emkay)
  • #736 Fix callback arguments documentation (@mmalecki)
  • #732 JSHINT: Creating global 'for' variable. Should be 'for (var ...'. (@Fritz-Lium)
  • #730 better HTTP DIGEST support (@dai-shi)
  • #728 Fix TypeError when calling request.cookie (@scarletmeow)
  • #727 fix requester bug (@jchris)
  • #724 README.md: add custom HTTP Headers example. (@tcort)
  • #719 Made a comment gender neutral. (@unsetbit)
  • #715 Request.multipart no longer crashes when header 'Content-type' present (@pastaclub)
  • #710 Fixing listing in callback part of docs. (@lukasz-zak)
  • #696 Edited README.md for formatting and clarity of phrasing (@Zearin)
  • #694 Typo in README (@VRMink)
  • #690 Handle blank password in basic auth. (@diversario)
  • #682 Optional dependencies (@Turbo87)
  • #683 Travis CI support (@Turbo87)
  • #674 change cookie module,to tough-cookie.please check it . (@sxyizhiren)
  • #666 make ciphers and secureProtocol to work in https request (@richarddong)
  • #656 Test case for #304. (@diversario)
  • #662 option.tunnel to explicitly disable tunneling (@seanmonstar)
  • #659 fix failure when running with NODE_DEBUG=request, and a test for that (@jrgm)
  • #630 Send random cnonce for HTTP Digest requests (@wprl)
  • #619 decouple things a bit (@joaojeronimo)
  • #613 Fixes #583, moved initialization of self.uri.pathname (@lexander)
  • #605 Only include ":" + pass in Basic Auth if it's defined (fixes #602) (@bendrucker)
  • #596 Global agent is being used when pool is specified (@Cauldrath)
  • #594 Emit complete event when there is no callback (@RomainLK)
  • #601 Fixed a small typo (@michalstanko)
  • #589 Prevent setting headers after they are sent (@geek)
  • #587 Global cookie jar disabled by default (@threepointone)
  • #544 Update http-signature version. (@davidlehn)
  • #581 Fix spelling of "ignoring." (@bigeasy)
  • #568 use agentOptions to create agent when specified in request (@SamPlacette)
  • #564 Fix redirections (@criloz)
  • #541 The exported request function doesn't have an auth method (@tschaub)
  • #542 Expose Request class (@regality)
  • #536 Allow explicitly empty user field for basic authentication. (@mikeando)
  • #532 fix typo (@fredericosilva)
  • #497 Added redirect event (@Cauldrath)
  • #503 Fix basic auth for passwords that contain colons (@tonistiigi)
  • #521 Improving test-localAddress.js (@noway)
  • #529 dependencies versions bump (@jodaka)
  • #523 Updating dependencies (@noway)
  • #520 Fixing test-tunnel.js (@noway)
  • #519 Update internal path state on post-creation QS changes (@jblebrun)
  • #510 Add HTTP Signature support. (@davidlehn)
  • #502 Fix POST (and probably other) requests that are retried after 401 Unauthorized (@nylen)
  • #508 Honor the .strictSSL option when using proxies (tunnel-agent) (@jhs)
  • #512 Make password optional to support the format: http://username@hostname/ (@pajato1)
  • #513 add 'localAddress' support (@yyfrankyy)
  • #498 Moving response emit above setHeaders on destination streams (@kenperkins)
  • #490 Empty response body (3-rd argument) must be passed to callback as an empty string (@Olegas)
  • #479 Changing so if Accept header is explicitly set, sending json does not ov... (@RoryH)
  • #475 Use unescape from querystring (@shimaore)
  • #473 V0.10 compat (@isaacs)
  • #471 Using querystring library from visionmedia (@kbackowski)
  • #461 Strip the UTF8 BOM from a UTF encoded response (@kppullin)
  • #460 hawk 0.10.0 (@hueniverse)
  • #462 if query params are empty, then request path shouldn't end with a '?' (merges cleanly now) (@jaipandya)
  • #456 hawk 0.9.0 (@hueniverse)
  • #429 Copy options before adding callback. (@nrn, @nfriedly, @youurayy, @jplock, @kapetan, @landeiro, @othiym23, @mmalecki)
  • #454 Destroy the response if present when destroying the request (clean merge) (@mafintosh)
  • #310 Twitter Oauth Stuff Out of Date; Now Updated (@joemccann, @isaacs, @mscdex)
  • #413 rename googledoodle.png to .jpg (@nfriedly, @youurayy, @jplock, @kapetan, @landeiro, @othiym23, @mmalecki)
  • #448 Convenience method for PATCH (@mloar)
  • #444 protect against double callbacks on error path (@spollack)
  • #433 Added support for HTTPS cert & key (@mmalecki)
  • #430 Respect specified {Host,host} headers, not just {host} (@andrewschaaf)
  • #415 Fixed a typo. (@jerem)
  • #338 Add more auth options, including digest support (@nylen)
  • #403 Optimize environment lookup to happen once only (@mmalecki)
  • #398 Add more reporting to tests (@mmalecki)
  • #388 Ensure "safe" toJSON doesn't break EventEmitters (@othiym23)
  • #381 Resolving "Invalid signature. Expected signature base string: " (@landeiro)
  • #380 Fixes missing host header on retried request when using forever agent (@mac-)
  • #376 Headers lost on redirect (@kapetan)
  • #375 Fix for missing oauth_timestamp parameter (@jplock)
  • #374 Correct Host header for proxy tunnel CONNECT (@youurayy)
  • #370 Twitter reverse auth uses x_auth_mode not x_auth_type (@drudge)
  • #369 Don't remove x_auth_mode for Twitter reverse auth (@drudge)
  • #344 Make AWS auth signing find headers correctly (@nlf)
  • #363 rfc3986 on base_uri, now passes tests (@jeffmarshall)
  • #362 Running rfc3986 on base_uri in oauth.hmacsign instead of just encodeURIComponent (@jeffmarshall)
  • #361 Don't create a Content-Length header if we already have it set (@danjenkins)
  • #360 Delete self._form along with everything else on redirect (@jgautier)
  • #355 stop sending erroneous headers on redirected requests (@azylman)
  • #332 Fix #296 - Only set Content-Type if body exists (@Marsup)
  • #343 Allow AWS to work in more situations, added a note in the README on its usage (@nlf)
  • #320 request.defaults() doesn't need to wrap jar() (@StuartHarris)
  • #322 Fix + test for piped into request bumped into redirect. #321 (@alexindigo)
  • #326 Do not try to remove listener from an undefined connection (@CartoDB)
  • #318 Pass servername to tunneling secure socket creation (@isaacs)
  • #317 Workaround for #313 (@isaacs)
  • #293 Allow parser errors to bubble up to request (@mscdex)
  • #290 A test for #289 (@isaacs)
  • #280 Like in node.js print options if NODE_DEBUG contains the word request (@Filirom1)
  • #207 Fix #206 Change HTTP/HTTPS agent when redirecting between protocols (@isaacs)
  • #214 documenting additional behavior of json option (@jphaas, @vpulim)
  • #272 Boundary begins with CRLF? (@elspoono, @timshadel, @naholyr, @nanodocumet, @TehShrike)
  • #284 Remove stray console.log() call in multipart generator. (@bcherry)
  • #241 Composability updates suggested by issue #239 (@polotek)
  • #282 OAuth Authorization header contains non-"oauth_" parameters (@jplock)
  • #279 fix tests with boundary by injecting boundry from header (@benatkin)
  • #273 Pipe back pressure issue (@mafintosh)
  • #268 I'm not OCD seriously (@TehShrike)
  • #263 Bug in OAuth key generation for sha1 (@nanodocumet)
  • #265 uncaughtException when redirected to invalid URI (@naholyr)
  • #262 JSON test should check for equality (@timshadel)
  • #261 Setting 'pool' to 'false' does NOT disable Agent pooling (@timshadel)
  • #249 Fix for the fix of your (closed) issue #89 where self.headers[content-length] is set to 0 for all methods (@sethbridges, @polotek, @zephrax, @jeromegn)
  • #255 multipart allow body === '' ( the empty string ) (@Filirom1)
  • #260 fixed just another leak of 'i' (@sreuter)
  • #246 Fixing the set-cookie header (@jeromegn)
  • #243 Dynamic boundary (@zephrax)
  • #240 don't error when null is passed for options (@polotek)
  • #211 Replace all occurrences of special chars in RFC3986 (@chriso, @vpulim)
  • #224 Multipart content-type change (@janjongboom)
  • #217 need to use Authorization (titlecase) header with Tumblr OAuth (@visnup)
  • #203 Fix cookie and redirect bugs and add auth support for HTTPS tunnel (@vpulim)
  • #199 Tunnel (@isaacs)
  • #198 Bugfix on forever usage of util.inherits (@isaacs)
  • #197 Make ForeverAgent work with HTTPS (@isaacs)
  • #193 Fixes GH-119 (@goatslacker)
  • #188 Add abort support to the returned request (@itay)
  • #176 Querystring option (@csainty)
  • #182 Fix request.defaults to support (uri, options, callback) api (@twilson63)
  • #180 Modified the post, put, head and del shortcuts to support uri optional param (@twilson63)
  • #179 fix to add opts in .pipe(stream, opts) (@substack)
  • #177 Issue #173 Support uri as first and optional config as second argument (@twilson63)
  • #170 can't create a cookie in a wrapped request (defaults) (@fabianonunes)
  • #168 Picking off an EasyFix by adding some missing mimetypes. (@serby)
  • #161 Fix cookie jar/headers.cookie collision (#125) (@papandreou)
  • #162 Fix issue #159 (@dpetukhov)
  • #90 add option followAllRedirects to follow post/put redirects (@jroes)
  • #148 Retry Agent (@thejh)
  • #146 Multipart should respect content-type if previously set (@apeace)
  • #144 added "form" option to readme (@petejkim)
  • #133 Fixed cookies parsing (@afanasy)
  • #135 host vs hostname (@iangreenleaf)
  • #132 return the body as a Buffer when encoding is set to null (@jahewson)
  • #112 Support using a custom http-like module (@jhs)
  • #104 Cookie handling contains bugs (@janjongboom)
  • #121 Another patch for cookie handling regression (@jhurliman)
  • #117 Remove the global i (@3rd-Eden)
  • #110 Update to Iris Couch URL (@jhs)
  • #86 Can't post binary to multipart requests (@kkaefer)
  • #105 added test for proxy option. (@dominictarr)
  • #102 Implemented cookies - closes issue 82: https://github.com/mikeal/request/issues/82 (@alessioalex)
  • #97 Typo in previous pull causes TypeError in non-0.5.11 versions (@isaacs)
  • #96 Authless parsed url host support (@isaacs)
  • #81 Enhance redirect handling (@danmactough)
  • #78 Don't try to do strictSSL for non-ssl connections (@isaacs)
  • #76 Bug when a request fails and a timeout is set (@Marsup)
  • #70 add test script to package.json (@isaacs, @aheckmann)
  • #73 Fix #71 Respect the strictSSL flag (@isaacs)
  • #69 Flatten chunked requests properly (@isaacs)
  • #67 fixed global variable leaks (@aheckmann)
  • #66 Do not overwrite established content-type headers for read stream deliver (@voodootikigod)
  • #53 Parse json: Issue #51 (@benatkin)
  • #45 Added timeout option (@mbrevoort)
  • #35 The "end" event isn't emitted for some responses (@voxpelli)
  • #31 Error on piping a request to a destination (@tobowers)
mikeal
published 2.30.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc