Package core :: Package data :: Package url :: Module xUrllib
[hide private]

Module xUrllib



xUrllib.py

Copyright 2006 Andres Riancho

This file is part of w3af, w3af.sourceforge.net .

w3af is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License.

w3af is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with w3af; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Classes [hide private]
  sizeExceeded
  xUrllib
This is a urllib2 wrapper.
Functions [hide private]
 
greek(size)
Return a string representing the greek/metric suffix of a size
Variables [hide private]
  _abbrevs = [(1125899906842624, 'P'), (1099511627776, 'T'), (10...
  ACCEPTED = 202
  BAD_GATEWAY = 502
  BAD_REQUEST = 400
  CONFLICT = 409
  CREATED = 201
  EXPECTATION_FAILED = 417
  FAILED_DEPENDENCY = 424
  FORBIDDEN = 403
  FOUND = 302
  GATEWAY_TIMEOUT = 504
  GONE = 410
  HTTP_VERSION_NOT_SUPPORTED = 505
  IM_USED = 226
  INSUFFICIENT_STORAGE = 507
  INTERNAL_SERVER_ERROR = 500
  LENGTH_REQUIRED = 411
  LOCKED = 423
  METHOD_NOT_ALLOWED = 405
  MOVED_PERMANENTLY = 301
  MULTIPLE_CHOICES = 300
  MULTI_STATUS = 207
  NON_AUTHORITATIVE_INFORMATION = 203
  NOT_ACCEPTABLE = 406
  NOT_EXTENDED = 510
  NOT_FOUND = 404
  NOT_IMPLEMENTED = 501
  NOT_MODIFIED = 304
  NO_CONTENT = 204
  OK = 200
  PARTIAL_CONTENT = 206
  PAYMENT_REQUIRED = 402
  PRECONDITION_FAILED = 412
  PROXY_AUTHENTICATION_REQUIRED = 407
  REQUESTED_RANGE_NOT_SATISFIABLE = 416
  REQUEST_ENTITY_TOO_LARGE = 413
  REQUEST_TIMEOUT = 408
  REQUEST_URI_TOO_LONG = 414
  RESET_CONTENT = 205
  SEE_OTHER = 303
  SERVICE_UNAVAILABLE = 503
  TEMPORARY_REDIRECT = 307
  UNAUTHORIZED = 401
  UNPROCESSABLE_ENTITY = 422
  UNSUPPORTED_MEDIA_TYPE = 415
  UPGRADE_REQUIRED = 426
  USE_PROXY = 305
Variables Details [hide private]

_abbrevs

Value:
[(1125899906842624, 'P'),
 (1099511627776, 'T'),
 (1073741824, 'G'),
 (1048576, 'M'),
 (1024, 'k'),
 (1, '')]