Branch: Tag:

2001-07-11

2001-07-11 21:13:05 by Johan Schön <js@opera.com>

Added get_path_query, useful for HTTP purposes.

Rev: lib/modules/Standards.pmod/URI.pike:1.8

3:      // Implemented by Johan Sundström and Johan Schön.   // Copyright (c) Roxen Internet Software 2001 - // $Id: URI.pike,v 1.7 2001/01/26 14:54:31 jhs Exp $ + // $Id: URI.pike,v 1.8 2001/07/11 21:13:05 js Exp $      #pragma strict_types   
363:    }   }    + string get_path_query() + { +  return (path||"") + (query ? "?" + query : ""); + } +    string _sprintf(int how, mapping|void args)   {    string look, _scheme = scheme, _host = host, getstring;