projects
/
working
/
NCIPServer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6396d1
)
Set application/xml content type in NCIP::Dancing.
author
Jason Stephenson
<jason@sigio.com>
Sun, 26 Oct 2014 17:14:26 +0000
(13:14 -0400)
committer
Jason Stephenson
<jason@sigio.com>
Sun, 26 Oct 2014 17:14:26 +0000
(13:14 -0400)
I tried setting the default in config.yml, and it did not work.
Signed-off-by: Jason Stephenson <jason@sigio.com>
lib/NCIP/Dancing.pm
patch
|
blob
|
history
diff --git
a/lib/NCIP/Dancing.pm
b/lib/NCIP/Dancing.pm
index
779c5a4
..
f42fe8e
100644
(file)
--- a/
lib/NCIP/Dancing.pm
+++ b/
lib/NCIP/Dancing.pm
@@
-6,6
+6,7
@@
our $VERSION = '0.1';
use NCIP;
any [ 'get', 'post' ] => '/' => sub {
+ content_type 'application/xml';
my $ncip = NCIP->new('t/config_sample');
my $xml = param 'xml';
if ( request->is_post ) {