summaryrefslogtreecommitdiff
path: root/lib/Net (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-30Wrap enum values in arrayref (franckcuny/net-http-spore#30)Chisel1-1/+1
2014-01-08Use Class::Load::load_class instead of Class::MOP::load_classChisel1-2/+3
This should resolve franckcuny/net-http-spore/#32 No new deps need to be specified as the dist uses [AutoPrereqs]
2014-01-08Use Class::Load::load_class instead of Class::MOP::load_classChisel1-2/+3
This should resolve franckcuny/net-http-spore/#32 No new deps need to be specified as the dist uses [AutoPrereqs]
2014-01-08Wrap enum values in arrayref (franckcuny/net-http-spore#30)Chisel1-1/+1
2013-08-14Re-wrap some documentation.Olaf Alders1-11/+20
2013-08-14Fixes typos.Olaf Alders1-2/+2
2013-06-25Fixing attribute name typoSteve Huff1-1/+1
Also adding a test case
2013-04-19Allow _add_methods and _attach_spec_to_class to be subclassed.Ash Berlin1-8/+8
For instance I have plans to parse Google's discovery documents which have the right information but are in a different format to SPORE specs.
2013-04-19make sure authentication default on method is lazyBrian Phillips1-0/+1
if it's not marked lazy, the predicate has no value (as it's always set at object creation time)
2013-04-19clean up typesBrian Phillips3-50/+50
- Split out type declarations into separate class - Use namespaced types instead of global types (via MooseX::Types) - use declared types where possible, instead of quoted type names (i.e. isa => Str, instead of isa => 'Str') - Allow "authentication" attribute to coerce from a JSON::is_bool() value (instead of expecting it to be a 1 or a 0 all the time)
2013-04-18support for anonymous middlewaresBrian Phillips2-2/+18
2013-04-18Clarifies that new_from_string expects a string in JSON format.Olaf Alders1-1/+4
2012-11-25Use $args{name} outside of subref to avoid memory leak.Michael Reddick1-1/+2
2012-11-25Let Dist::Zilla handle the version number.Franck Cuny1-2/+0
2012-02-06Fix an error string, add a crude testAndreas Marienborg1-1/+1
2012-02-06Support PATCH method (that github uses)Andreas Marienborg1-2/+2
2012-01-02use eq and ne instead of a regexfranck cuny1-2/+2
2012-01-02use eq and ne instead of a regexfranck cuny1-2/+2
2011-12-08pod fixBrian Cassidy1-1/+1
2011-12-08confess when we are unable to fetch a spec via LWPBrian Cassidy1-0/+4
2011-12-08remove unused var; simplify conditionsBrian Cassidy1-7/+2
2011-07-26update POD for some middlewaresfranck cuny4-14/+31
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26fix broken PODfranck cuny1-1/+2
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26add new middleware: DoNotTrackfranck cuny1-0/+22
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26update debugfranck cuny1-1/+1
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26scheme is stored in spore.url_scheme not spore.schemefranck cuny1-2/+2
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26fix test for port and schenefranck cuny1-2/+7
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26working OAuth middlewarefranck cuny1-32/+203
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26fix bug with trace set to 0franck cuny1-2/+11
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26debug string if definedfranck cuny1-2/+6
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26add query_string to debugfranck cuny1-0/+1
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26add documentation for tracingfranck cuny1-0/+18
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26add debug while loading middlewaresfranck cuny1-0/+1
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26enable trace with environment or constructorfranck cuny1-23/+26
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26be explicit when there is a timeoutfranck cuny1-1/+5
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26can't log at this point when we attach a methodfranck cuny1-0/+6
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26fix path_infofranck cuny1-1/+1
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26userinfo if availablefranck cuny1-1/+5
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26add spore.userinfofranck cuny2-0/+3
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26add tests for middleware Auth::Headerfranck cuny1-1/+1
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26new middlewarefranck cuny1-0/+32
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26multiple clientsfranck cuny1-30/+34
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26basic role for SPOREfranck cuny1-0/+56
Signed-off-by: franck cuny <franck@lumberjaph.net>
2011-07-26set a default value to 0 for trace attribute in debug roleniko1-3/+3
2011-07-26log request and resposefranck cuny1-3/+26
2011-07-26basic code to logfranck cuny1-5/+34
2011-07-26add host method to request objectfranck cuny1-0/+9
2011-07-26no debug herefranck cuny1-1/+1
2011-07-26trying to finish the trace stuff ..franck cuny3-8/+13
2011-07-26fix a problem when decoding serialized content when not neededfranck cuny1-1/+2
2011-07-13support all HTTP methodsStevan Little1-1/+1
2010-11-26need to rewrite thisfranck cuny1-1/+4
2010-11-25allow XML::Simple options (fperrad)franck cuny1-2/+16
2010-11-24stringify body to a usefull messagefranck cuny1-1/+10
2010-11-24fix an issue where content-type was not set correctlyfranck cuny1-1/+2
2010-11-23Remove outdated spec/ files. Add github.com/SPORE/specifications link to docs.Tim Bunce1-1/+7
2010-11-23Add is_success method to Net/HTTP/Spore/Response.pmTim Bunce1-0/+1
2010-11-23Throw exception by default if not is_success (but excepted takes precedence)Tim Bunce1-2/+4
2010-11-22prepare to release 0.03franck cuny3-7/+7
2010-11-22remove two middlewarefranck cuny2-25/+0
2010-11-17try / catch error on middlewaresfranck cuny1-1/+9
2010-11-05mock call finalizefranck cuny1-1/+2
2010-11-05remove two methodsfranck cuny1-80/+56
2010-11-03remove remaining :name in pathfranck cuny1-3/+10
2010-11-01use new redirect portfranck cuny1-2/+4
2010-11-01don't trace yetfranck cuny1-5/+5
2010-11-01rewrite request using moose; not yet finishedfranck cuny1-45/+225
2010-11-01tidy; add form-data and headersfranck cuny1-10/+19
2010-11-01update synopsisfranck cuny1-0/+7
2010-11-01add fallbackfranck cuny1-1/+1
2010-10-30add headersfranck cuny1-0/+5
2010-10-27regex to check methodfranck cuny1-1/+1
2010-10-26add role to tracefranck cuny5-2/+28
2010-10-26add expected_status to top levelfranck cuny1-0/+7
2010-10-25add payload and form-data to the method objectfranck cuny1-9/+42
2010-10-25api spec can be modularized:franck cuny1-27/+81
* add two new methods: new_from_specs and new_from_strings theses two methods can receive more than one description to create a client * add tests and api desc
2010-10-19by default, no redirectfranck cuny1-0/+1
2010-10-19small updates on request:franck cuny1-8/+26
* abstract method to execute middlewares on response * on response callback, middlewares can return a Net::HTTP::Spore::Response object * method _request
2010-10-19new middlewares:franck cuny3-0/+69
* fileupload: upload a file (will detect mime type to set appropriate headers) * paranoidagent: handle blacklist and whitelist * redirection: follows HTTP redirection (HTTP status 30*) * test for redirection
2010-10-17don't rely on net::http::api::errorfranck cuny1-6/+4
2010-10-17reflect specification updatefranck cuny3-71/+53
2010-10-14add subtypes for Bool; change how params worksfranck cuny1-16/+65
* add subtypes for JSON bool * params is now an hashref with 'required' and 'optional' keys
2010-10-14use Scalar::Utils to check if self is blessedfranck cuny1-1/+2
2010-10-14use utf8franck cuny1-2/+2
2010-10-12update PODfranck cuny8-8/+102
2010-10-12add enable_if feature + testsfranck cuny2-13/+31
2010-10-08add new_from_string and some testsfranck cuny1-16/+38
2010-09-16update API; add PODfranck cuny1-9/+84
2010-09-15remove api_base_urlfranck cuny1-8/+0
2010-09-15podfranck cuny5-0/+84
2010-09-15auth format remove protofranck cuny1-13/+21
2010-09-15new role to loadfranck cuny1-0/+1
2010-09-15init. object with api attributesfranck cuny1-9/+19
2010-09-15api attributesfranck cuny1-0/+27
2010-09-15PODfranck cuny2-13/+250
2010-09-15mocker for requestfranck cuny1-12/+0
2010-09-15remove useless filesfranck cuny2-28/+38
2010-09-15foofranck cuny1-0/+0
2010-09-15POD for mw useragentfranck cuny1-1/+11
2010-09-15POD for mw runtimefranck cuny1-0/+14
2010-09-15auths mw extends authfranck cuny3-4/+44
2010-09-15add podfranck cuny1-5/+6
2010-09-13some POD and examplesfranck cuny2-5/+40
2010-09-13simple oauth middlewarefranck cuny1-1/+4
2010-09-13remote trailings argsfranck cuny1-4/+3