about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2011-07-01 22:39:49 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2011-07-01 22:39:49 +0200
commit280cdbe29ac75d5841162b5580193a242f30e3b0 (patch)
tree19efcf60e5c204f0a1987ce33ac246e2809b3cd4
parentspore2dot: split long list of arguments (diff)
downloadapi-description-280cdbe29ac75d5841162b5580193a242f30e3b0.tar.gz
spore2dot: skip Authentication header
-rw-r--r--utils/spore2dot.pl1
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 "&nbsp;&nbsp;&nbsp;", $desc->{method}, " ", $desc->{path}, "\\l";
             for my $h (sort keys %{$desc->{headers}}) {
+                next if ($h =~ /^Auth/i);
                 print "&nbsp;&nbsp;&nbsp;", $h, ": ", $desc->{headers}->{$h}, "\\l";
             }
             for my $f (sort keys %{$desc->{'form-data'}}) {