CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 08 Aug 2025 03:51:29 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090920170536
location: https://web.archive.org/web/20090920170536/https://github.com/toland/patron/tree
server-timing: captures_list;dur=0.723254, exclusion.robots;dur=0.023350, exclusion.robots.policy;dur=0.009729, esindex;dur=0.012452, cdx.remote;dur=34.309538, LoadShardBlock;dur=221.569646, PetaboxLoader3.datanode;dur=56.918807, PetaboxLoader3.resolve;dur=137.161747
x-app-server: wwwb-app215
x-ts: 302
x-tr: 298
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app215; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 08 Aug 2025 03:51:30 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.35
x-archive-orig-date: Sun, 20 Sep 2009 17:05:35 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "b12abe559a8f810aaa6d05b9ecb8bdcd"
x-archive-orig-x-runtime: 400ms
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 28113
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 20 Sep 2009 17:05:36 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 22 Jul 2009 03:14:59 GMT", ; rel="prev memento"; datetime="Wed, 22 Jul 2009 03:14:59 GMT", ; rel="memento"; datetime="Sun, 20 Sep 2009 17:05:36 GMT", ; rel="last memento"; datetime="Sun, 20 Sep 2009 17:05:36 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_11_20090920143823_crawl102_IndexOnly.gpg-c/52_11_20090920170438_crawl101.arc.gz
server-timing: captures_list;dur=0.503149, exclusion.robots;dur=0.018751, exclusion.robots.policy;dur=0.009151, esindex;dur=0.009594, cdx.remote;dur=11.560600, LoadShardBlock;dur=342.988066, PetaboxLoader3.resolve;dur=202.374589, PetaboxLoader3.datanode;dur=175.739519, load_resource;dur=111.464230
x-app-server: wwwb-app215
x-ts: 200
x-tr: 518
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
toland's patron at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | Ruby HTTP client based on libcurl edit |
Homepage: | https://toland.github.com/patron/ edit |
Public Clone URL: |
git://github.com/toland/patron.git
Give this clone URL to anyone.
git clone git://github.com/toland/patron.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:toland/patron.git
|
patron /
README.txt
= Ruby HTTP Client == SYNOPSIS Patron is a Ruby HTTP client library based on libcurl. It does not try to expose the full "power" (read complexity) of libcurl but instead tries to provide a sane API while taking advantage of libcurl under the hood. == USAGE Usage is very simple. First, you instantiate a Session object. You can set a few default options on the Session instance that will be used by all subsequent requests: sess = Patron::Session.new sess.timeout = 10 sess.base_url = "https://myserver.com:9900" sess.headers['User-Agent'] = 'myapp/1.0' The Session is used to make HTTP requests. resp = sess.get("/foo/bar") Requests return a Response object: if resp.status < 400 puts resp.body end The GET, HEAD, PUT, POST and DELETE operations are all supported. sess.put("/foo/baz", "some data") sess.delete("/foo/baz") You can ship custom headers with a single request: sess.post("/foo/stuff", "some data", {"Content-Type" => "text/plain"}) That is pretty much all there is to it. == REQUIREMENTS You need a recent version of libcurl in order to install this gem. On MacOS X the provided libcurl is sufficient. You will have to install the libcurl development packages on Debian or Ubuntu. Other Linux systems are probably similar. Windows users are on your own. Good luck with that. == INSTALL sudo gem install patron Copyright (c) 2008 The Hive
This feature is coming soon. Sit tight!