Savarese Software Research Corporation
parse_query.cc File Reference
#include <ssrc/wispers/fcgi/parse_query.h>
#include <ssrc/wispers/fcgi/URI.h>
#include <ssrc/wispers/utility/WebStrings.h>
#include <boost/algorithm/string/trim.hpp>
Include dependency graph for parse_query.cc:

Go to the source code of this file.

Functions

__BEGIN_NS_SSRC_WSPR_FCGI string parse_header_attribute (const string &header_value, const string &attribute, string::size_type pos, string::size_type *end)
void parse_query_string (const string &query_str, parameter_map &parameters)
void parse_multipart_data (const string &data, const string &boundary, parameter_map &parameters)
void parse_get_parameters (const FCGIRequest &request, parameter_map &parameters)
void parse_post_parameters (const FCGIRequest &request, parameter_map &parameters)

Function Documentation

void parse_get_parameters ( const FCGIRequest request,
parameter_map parameters 
)

Definition at line 151 of file parse_query.cc.

References FCGIRequest::fcgx_get_param(), parse_query_string(), and URI::query().

Referenced by Relay::http_get().

__BEGIN_NS_SSRC_WSPR_FCGI string parse_header_attribute ( const string header_value,
const string attribute,
string::size_type  pos,
string::size_type *  end 
)

Definition at line 27 of file parse_query.cc.

Referenced by parse_multipart_data(), and parse_post_parameters().

void parse_multipart_data ( const string data,
const string boundary,
parameter_map parameters 
)

Definition at line 109 of file parse_query.cc.

References parse_header_attribute(), and detail::step().

Referenced by parse_post_parameters().

void parse_query_string ( const string query_str,
parameter_map parameters 
)

Definition at line 69 of file parse_query.cc.

References unescape_url(), and value().

Referenced by parse_get_parameters(), and parse_post_parameters().


Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.