Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on Feb 22, 2012
@raff Fixing autocomplete (hurlHeaders is always called with no parameter s…
…o I am not sure of why it's expecting the input element)
6c2ce4f
@raff Adding Authorization header 5cc0a20
Showing with 4 additions and 1 deletion.
  1. +4 −1 public/js/hurl.headers.js
View
5 public/js/hurl.headers.js
@@ -1,5 +1,7 @@
(function() {
$.fn.hurlHeaders = function(el) {
+ if (el == undefined)
+ el = this;
$(el).autocompleteArray(keyNames( Headers ), {
delay: 40,
onItemSelect: function(e) {
@@ -36,6 +38,7 @@
"Accept": ["*/*", "text/plain", "text/html, text/plain", "application/xml", "application/json"],
"Accept-Encoding": [ "compress", "deflate", "gzip", "compress, gzip", "gzip, deflate"],
"Accept-Language": [ "en", "es", "de", "fr", "*" ],
+ "Authorization": null,
"Cache-Control": [ "cache", "no-cache" ],
"Connection": [ "close", "keep-alive" ],
"Cookie": null,
@@ -132,4 +135,4 @@
s += ((modMin == 0) ? "00" : modMin);
return(s);
}
-})();
+})();

No commit comments for this range

Something went wrong with that request. Please try again.