summary refs log tree commit diff
path: root/lib/Net (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #35 from chiselwright/enum_arrayrefAsh Berlin2014-02-011-1/+1
|\ | | | | Wrap enum values in arrayref (franckcuny/net-http-spore#30)
| * Wrap enum values in arrayref (franckcuny/net-http-spore#30)Chisel2014-01-301-1/+1
| |
* | Merge pull request #24 from hakamadare/typo_fixAsh Berlin2014-02-011-1/+1
|\ \ | |/ |/| Fixing attribute name typo
| * Fixing attribute name typoSteve Huff2013-06-251-1/+1
| | | | | | | | Also adding a test case
* | Use Class::Load::load_class instead of Class::MOP::load_classChisel2014-01-081-2/+3
| | | | | | | | | | | | This should resolve franckcuny/net-http-spore/#32 No new deps need to be specified as the dist uses [AutoPrereqs]
* | Re-wrap some documentation.Olaf Alders2013-08-141-11/+20
| |
* | Fixes typos.Olaf Alders2013-08-141-2/+2
|/
* Allow _add_methods and _attach_spec_to_class to be subclassed.Ash Berlin2013-04-191-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.
* make sure authentication default on method is lazyBrian Phillips2013-04-191-0/+1
| | | | | if it's not marked lazy, the predicate has no value (as it's always set at object creation time)
* clean up typesBrian Phillips2013-04-193-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)
* support for anonymous middlewaresBrian Phillips2013-04-182-2/+18
|
* Merge branch 'method-patch' of git://github.com/omega/net-http-spore into ↵Ash Berlin2013-04-181-3/+3
|\ | | | | | | omega-method-patch
| * Fix an error string, add a crude testAndreas Marienborg2012-02-061-1/+1
| |
| * Support PATCH method (that github uses)Andreas Marienborg2012-02-061-2/+2
| |
* | Clarifies that new_from_string expects a string in JSON format.Olaf Alders2013-04-181-1/+4
| |
* | Use $args{name} outside of subref to avoid memory leak.Michael Reddick2012-11-251-1/+2
| |
* | Let Dist::Zilla handle the version number.Franck Cuny2012-11-251-2/+0
|/
* use eq and ne instead of a regexfranck cuny2012-01-021-2/+2
|
* pod fixBrian Cassidy2011-12-081-1/+1
|
* confess when we are unable to fetch a spec via LWPBrian Cassidy2011-12-081-0/+4
|
* remove unused var; simplify conditionsBrian Cassidy2011-12-081-7/+2
|
* update POD for some middlewaresfranck cuny2011-07-264-14/+31
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* fix broken PODfranck cuny2011-07-261-1/+2
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add new middleware: DoNotTrackfranck cuny2011-07-261-0/+22
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* update debugfranck cuny2011-07-261-1/+1
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* scheme is stored in spore.url_scheme not spore.schemefranck cuny2011-07-261-2/+2
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* fix test for port and schenefranck cuny2011-07-261-2/+7
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* working OAuth middlewarefranck cuny2011-07-261-32/+203
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* fix bug with trace set to 0franck cuny2011-07-261-2/+11
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* debug string if definedfranck cuny2011-07-261-2/+6
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add query_string to debugfranck cuny2011-07-261-0/+1
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add documentation for tracingfranck cuny2011-07-261-0/+18
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add debug while loading middlewaresfranck cuny2011-07-261-0/+1
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* enable trace with environment or constructorfranck cuny2011-07-261-23/+26
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* be explicit when there is a timeoutfranck cuny2011-07-261-1/+5
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* can't log at this point when we attach a methodfranck cuny2011-07-261-0/+6
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* fix path_infofranck cuny2011-07-261-1/+1
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* userinfo if availablefranck cuny2011-07-261-1/+5
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add spore.userinfofranck cuny2011-07-262-0/+3
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add tests for middleware Auth::Headerfranck cuny2011-07-261-1/+1
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* new middlewarefranck cuny2011-07-261-0/+32
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* multiple clientsfranck cuny2011-07-261-30/+34
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* basic role for SPOREfranck cuny2011-07-261-0/+56
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* set a default value to 0 for trace attribute in debug roleniko2011-07-261-3/+3
|
* log request and resposefranck cuny2011-07-261-3/+26
|
* basic code to logfranck cuny2011-07-261-5/+34
|
* add host method to request objectfranck cuny2011-07-261-0/+9
|
* no debug herefranck cuny2011-07-261-1/+1
|
* trying to finish the trace stuff ..franck cuny2011-07-263-8/+13
|
* fix a problem when decoding serialized content when not neededfranck cuny2011-07-261-1/+2
|
* support all HTTP methodsStevan Little2011-07-131-1/+1
|
* need to rewrite thisfranck cuny2010-11-261-1/+4
|
* allow XML::Simple options (fperrad)franck cuny2010-11-251-2/+16
|
* stringify body to a usefull messagefranck cuny2010-11-241-1/+10
|
* fix an issue where content-type was not set correctlyfranck cuny2010-11-241-1/+2
|
* Remove outdated spec/ files. Add github.com/SPORE/specifications link to docs.Tim Bunce2010-11-231-1/+7
|
* Add is_success method to Net/HTTP/Spore/Response.pmTim Bunce2010-11-231-0/+1
|
* Throw exception by default if not is_success (but excepted takes precedence)Tim Bunce2010-11-231-2/+4
|
* prepare to release 0.03franck cuny2010-11-223-7/+7
|
* remove two middlewarefranck cuny2010-11-222-25/+0
|
* try / catch error on middlewaresfranck cuny2010-11-171-1/+9
|
* mock call finalizefranck cuny2010-11-051-1/+2
|
* remove two methodsfranck cuny2010-11-051-80/+56
|
* remove remaining :name in pathfranck cuny2010-11-031-3/+10
|
* use new redirect portfranck cuny2010-11-011-2/+4
|
* Merge branch 'master' of github.com:franckcuny/net-http-sporefranck cuny2010-11-011-1/+1
|\ | | | | | | | | * 'master' of github.com:franckcuny/net-http-spore: regex to check method
| * regex to check methodfranck cuny2010-10-271-1/+1
| |
* | don't trace yetfranck cuny2010-11-011-5/+5
| |
* | rewrite request using moose; not yet finishedfranck cuny2010-11-011-45/+225
| |
* | tidy; add form-data and headersfranck cuny2010-11-011-10/+19
| |
* | update synopsisfranck cuny2010-11-011-0/+7
| |
* | add fallbackfranck cuny2010-11-011-1/+1
| |
* | mergefranck cuny2010-11-016-12/+101
|\ \
| * | add headersfranck cuny2010-10-301-0/+5
| | |
| * | by default, no redirectfranck cuny2010-10-191-0/+1
| | |
| * | small updates on request:franck cuny2010-10-191-8/+26
| | | | | | | | | | | | | | | | | | | | | * abstract method to execute middlewares on response * on response callback, middlewares can return a Net::HTTP::Spore::Response object * method _request
| * | new middlewares:franck cuny2010-10-193-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
* | | add role to tracefranck cuny2010-10-265-2/+28
| |/ |/|
* | add expected_status to top levelfranck cuny2010-10-261-0/+7
| |
* | add payload and form-data to the method objectfranck cuny2010-10-251-9/+42
| |
* | api spec can be modularized:franck cuny2010-10-251-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
* don't rely on net::http::api::errorfranck cuny2010-10-171-6/+4
|
* reflect specification updatefranck cuny2010-10-173-71/+53
|
* add subtypes for Bool; change how params worksfranck cuny2010-10-141-16/+65
| | | | | * add subtypes for JSON bool * params is now an hashref with 'required' and 'optional' keys
* use Scalar::Utils to check if self is blessedfranck cuny2010-10-141-1/+2
|
* use utf8franck cuny2010-10-141-2/+2
|
* update PODfranck cuny2010-10-128-8/+102
|
* add enable_if feature + testsfranck cuny2010-10-122-13/+31
|
* add new_from_string and some testsfranck cuny2010-10-081-16/+38
|
* update API; add PODfranck cuny2010-09-161-9/+84
|
* remove api_base_urlfranck cuny2010-09-151-8/+0
|
* podfranck cuny2010-09-155-0/+84
|
* auth format remove protofranck cuny2010-09-151-13/+21
|
* new role to loadfranck cuny2010-09-151-0/+1
|
* init. object with api attributesfranck cuny2010-09-151-9/+19
|
* api attributesfranck cuny2010-09-151-0/+27
|
* PODfranck cuny2010-09-152-13/+250
|
* mocker for requestfranck cuny2010-09-151-12/+0
|
* remove useless filesfranck cuny2010-09-152-28/+38
|
* foofranck cuny2010-09-151-0/+0
|
* POD for mw useragentfranck cuny2010-09-151-1/+11
|
* POD for mw runtimefranck cuny2010-09-151-0/+14
|
* auths mw extends authfranck cuny2010-09-153-4/+44
|
* add podfranck cuny2010-09-151-5/+6
|
* some POD and examplesfranck cuny2010-09-132-5/+40
|
* simple oauth middlewarefranck cuny2010-09-131-1/+4
|
* remote trailings argsfranck cuny2010-09-131-4/+3
|
* initial importfranck cuny2010-09-1324-0/+1086