diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2011-07-01 22:39:49 +0200 |
---|---|---|
committer | Francois Perrad <francois.perrad@gadz.org> | 2011-07-01 22:39:49 +0200 |
commit | 280cdbe29ac75d5841162b5580193a242f30e3b0 (patch) | |
tree | 19efcf60e5c204f0a1987ce33ac246e2809b3cd4 | |
parent | spore2dot: split long list of arguments (diff) | |
download | api-description-280cdbe29ac75d5841162b5580193a242f30e3b0.tar.gz |
spore2dot: skip Authentication header
-rw-r--r-- | utils/spore2dot.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/spore2dot.pl b/utils/spore2dot.pl index e522099..1a786bf 100644 --- a/utils/spore2dot.pl +++ b/utils/spore2dot.pl @@ -101,6 +101,7 @@ foreach my $spec (@specs) { if ($ENV{SPORE_DETAILS}) { print " ", $desc->{method}, " ", $desc->{path}, "\\l"; for my $h (sort keys %{$desc->{headers}}) { + next if ($h =~ /^Auth/i); print " ", $h, ": ", $desc->{headers}->{$h}, "\\l"; } for my $f (sort keys %{$desc->{'form-data'}}) { |