Changeset 17527 for trunk/DataStore
- Timestamp:
- May 5, 2008, 10:38:34 AM (18 years ago)
- Location:
- trunk/DataStore
- Files:
-
- 2 edited
-
Changes (modified) (1 diff)
-
scripts/dsget (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataStore/Changes
r17526 r17527 2 2 3 3 0.07 4 - change dsget to return the HTTP status code on failure 4 5 - remove use of parse_neb_key() from dsget 5 6 - dsget doc updates -
trunk/DataStore/scripts/dsget
r17526 r17527 3 3 # Copyright (C) 2006-2008 Joshua Hoblitt 4 4 # 5 # $Id: dsget,v 1.1 7 2008-05-05 20:26:46jhoblitt Exp $5 # $Id: dsget,v 1.18 2008-05-05 20:38:34 jhoblitt Exp $ 6 6 7 7 use strict; … … 114 114 115 115 die "request failed" unless defined $response; 116 die "request failed: ", $response->status_line unless $response->is_success; 116 unless ($response->is_success) { 117 $? = $response->code; 118 die "request failed: ", $response->status_line; 119 } 117 120 die "checksum failed" unless $response->data; 118 121
Note:
See TracChangeset
for help on using the changeset viewer.
