Searched refs:method (Results 1 - 25 of 44) sorted by relevance

12

/httpd/modules/http/
H A Dhttp_protocol.c175 /* The max method number. Method numbers are used to shift bitmasks,
216 * being 304 or 204, the request method being HEAD, already
575 * If the request method was GET or HEAD, failure means the server
633 * Singleton registry of additional methods. This maps new method names
643 /* internal function to register one method/number pair */
653 /* This internal function is used to clear the method registry
714 /* Check if the method was previously registered. If it was
715 * return the associated method number.
723 /* The method registry has run out of dynamically
724 * assignable method number
739 lookup_builtin_method(const char *method, apr_size_t len) argument
931 ap_method_number_of(const char *method) argument
1579 ap_method_in_list(ap_method_list_t *l, const char *method) argument
1611 ap_method_list_add(ap_method_list_t *l, const char *method) argument
1645 ap_method_list_remove(ap_method_list_t *l, const char *method) argument
[all...]
H A Dhttp_request.c194 * method was.
196 apr_table_setn(r->subprocess_env, "REQUEST_METHOD", r->method);
199 * Provide a special method for modules to communicate
207 r->method = "GET";
438 new->method = r->method;
689 const char *method; local
701 while ((method = va_arg(methods, const char *)) != NULL) {
702 ap_method_list_add(r->allowed_methods, method);
709 int method; local
[all...]
/httpd/modules/aaa/
H A Dmod_access_compat.c73 int *satisfy; /* for every method one */
242 static int find_allowdeny(request_rec *r, apr_array_header_t *a, int method) argument
246 apr_int64_t mmask = (AP_METHOD_BIT << method);
319 int method = r->method_number; local
324 if (a->order[method] == ALLOW_THEN_DENY) {
326 if (find_allowdeny(r, a->allows, method)) {
329 if (find_allowdeny(r, a->denys, method)) {
333 else if (a->order[method] == DENY_THEN_ALLOW) {
334 if (find_allowdeny(r, a->denys, method)) {
337 if (find_allowdeny(r, a->allows, method)) {
[all...]
H A Dmod_allowmethods.c40 * Non-matching methods will be returned a status 405 (method not allowed)
55 int method = r->method_number; local
66 if (conf->allowed & (AP_METHOD_BIT << method)) {
71 "client method denied by server configuration: '%s' to %s%s",
72 r->method,
113 return "AllowMethods: No method or 'reset' keyword given";
H A Dmod_auth_form.c68 const char *method; member in struct:__anon54
99 conf->method = "httpd_method";
127 new->method = (add->method_set == 0) ? base->method : add->method;
230 static const char *set_cookie_form_method(cmd_parms * cmd, void *config, const char *method) argument
233 conf->method = method;
235 return check_string(cmd, method);
365 "The field of the login form carrying the original request method
434 set_notes_auth(request_rec * r, const char *user, const char *pw, const char *method, const char *mimetype) argument
472 get_notes_auth(request_rec *r, const char **user, const char **pw, const char **method, const char **mimetype) argument
590 get_form_auth(request_rec * r, const char *username, const char *password, const char *location, const char *method, const char *mimetype, const char *body, const char **sent_user, const char **sent_pw, const char **sent_loc, const char **sent_method, const char **sent_mimetype, apr_bucket_brigade **sent_body, auth_form_config_rec * conf) argument
[all...]
H A Dmod_auth_digest.c142 const char *method; member in struct:digest_header_struct
1013 resp->method = r->method;
1447 ha2 = ap_md5(r->pool, (unsigned char *)apr_pstrcat(r->pool, resp->method, ":",
1463 a2 = apr_pstrcat(r->pool, resp->method, ":", resp->uri, NULL);
/httpd/modules/mappers/
H A Dmod_actions.c18 * mod_actions.c: executes scripts based on MIME type or HTTP method
34 * HTTP method "PUT". The available method names are defined in httpd.h.
35 * If the method is GET, the script will only be activated if the requested
111 const char *method, const char *script)
117 methnum = ap_method_number_of(method);
123 methnum = ap_method_register(cmd->pool, method);
130 return apr_pstrcat(cmd->pool, "Could not register method '", method,
145 "a method followe
110 set_script(cmd_parms *cmd, void *m_v, const char *method, const char *script) argument
[all...]
/httpd/include/
H A Dhttp_protocol.h286 * Register a new request method, and return the offset that will be
287 * associated with that method.
289 * @param p The pool to create registered method numbers from.
290 * @param methname The name of the new method to register.
304 * against a method name.
310 * Create a new method list with the specified number of preallocated
322 * Copy a method list
331 * Search for an HTTP method name in an ap_method_list_t structure, and
334 * @param method String containing the name of the method t
[all...]
H A Dhttp_request.h116 * Create a subrequest for the given URI using a specific method. This
118 * @param method The method to use in the new subrequest
125 AP_DECLARE(request_rec *) ap_sub_req_method_uri(const char *method,
284 * method name to add.
301 * @param ... A list of method identifiers, from the "M_" series
/httpd/modules/lua/test/htdocs/
H A Dtest.lua56 r:puts("HTTP Method:\n " .. r.method .. "\n")
58 if r.method == 'POST' then
93 pf("method")
/httpd/modules/proxy/
H A Dajp_header.c136 /* Apache method number to SC methods transform table */
188 method (byte)
218 int method; local
228 if ((method = sc_for_req_method_by_id(r)) == UNKNOWN_METHOD) {
230 "ajp_marshal_into_msgb - Sending unknown method %s as request attribute",
231 r->method);
232 method = SC_M_JK_STORED;
247 ajp_msg_append_uint8(msg, (apr_byte_t) method) ||
407 /* If the method was unrecognized, encode it as an attribute */
408 if (method
[all...]
H A Dmod_proxy_http.c1027 /* apr_status_t value has been logged in lower level method */
1200 r->uri, r->method);
1206 r->uri, r->method);
1214 r->uri, r->method);
1496 major, minor, r->uri, r->method);
/httpd/
H A Dap.d19 const char *method;
/httpd/modules/generators/
H A Dmod_asis.c71 * method was.
73 r->method = "GET";
H A Dmod_cgi.c188 apr_file_printf(f, "%%%% [%s] %s %s%s%s %s\n", time_str, r->method, r->uri,
253 apr_file_printf(f, "%%%% [%s] %s %s%s%s %s\n", time_str, r->method, r->uri,
636 * method of the real APR pipe bucket implementation. */
673 /* Read method of CGI bucket: polls on stderr and stdout of the child,
991 * method was.
993 r->method = "GET";
H A Dmod_cgid.c1089 apr_file_printf(f, "%%%% [%s] %s %s%s%s %s\n", time_str, r->method, r->uri,
1135 apr_file_printf(f, "%%%% [%s] %s %s%s%s %s\n", time_str, r->method, r->uri,
1651 * method was.
1653 r->method = "GET";
/httpd/support/
H A Dab.c269 enum {NO_METH = 0, GET, HEAD, PUT, POST, CUSTOM_METHOD} method = NO_METH; variable in typeref:enum:__anon391
1588 c->length = method != HEAD ? atoi(cl + 16) : 0;
1730 method_str[method],
1743 method_str[method],
1756 method_str[method], request);
1990 fprintf(stderr, " -m method Method name\n");
2194 if (method != NO_METH)
2196 method = HEAD;
2214 if (method != NO_METH)
2219 method
[all...]
/httpd/modules/ssl/
H A Dssl_engine_init.c480 MODSSL_SSL_METHOD_CONST SSL_METHOD *method = NULL; local
508 method = mctx->pkp ?
513 method = mctx->pkp ?
519 method = mctx->pkp ?
524 method = mctx->pkp ?
529 else { /* For multiple protocols, we need a flexible method */
530 method = mctx->pkp ?
534 ctx = SSL_CTX_new(method);
H A Dssl_engine_ocsp.c39 if (OBJ_obj2nid(value->method) == NID_ad_OCSP
/httpd/modules/metadata/
H A Dmod_mime_magic.c2043 * and prints information if recognized uncompress(s, method, old, n, newch)
2044 * - uncompress old into new, using method, return sizeof new
2114 int method; member in struct:uncompress_parms
2129 * what happens when !compr[parm->method].silent?
2144 new_argv[0] = compr[parm->method].argv[0];
2145 new_argv[1] = compr[parm->method].argv[1];
2150 rc = apr_proc_create(procnew, compr[parm->method].argv[0],
2157 compr[parm->method].argv[0]);
2168 static int uncompress(request_rec *r, int method, argument
2177 parm.method
[all...]
H A Dmod_setenvif.c57 * request_method Request method (GET, POST, etc)
541 val = r->method;
/httpd/server/
H A Dscoreboard.c373 else if (r->method_number == M_GET && r->method[0] == 'H') {
429 p = apr_pstrcat(r->pool, r->method, " ",
H A Dprotocol.c630 r->method = ap_getword_white(r->pool, &ll);
634 /* Provide quick information about the request method as soon as known */
636 r->method_number = ap_method_number_of(r->method);
637 if (r->method_number == M_GET && r->method[0] == 'H') {
714 "Invalid HTTP method string: %s", r->method);
1065 else if (r->method == NULL) {
1252 AP_READ_REQUEST_SUCCESS((uintptr_t)r, (char *)r->method, (char *)r->uri, (char *)r->server->defn_name, r->status);
1293 rnew->method = "GET";
H A Drequest.c2111 AP_DECLARE(request_rec *) ap_sub_req_method_uri(const char *method, argument
2123 /* would be nicer to pass "method" to ap_set_sub_req_protocol */
2124 rnew->method = method;
2125 rnew->method_number = ap_method_number_of(method);
/httpd/modules/cache/
H A Dmod_cache.c163 APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO(02462) "cache: Method '%s' not cacheable by mod_cache, ignoring: %s", r->method, r->uri);
463 APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO(02464) "cache: Method '%s' not cacheable by mod_cache, ignoring: %s", r->method, r->uri);
1648 * method be detected. If the response is successful, we must invalidate any
1682 "cache: response status to '%s' method is %d (>299), not invalidating cached entity: %s", r->method, r->status, r->uri);
1689 r->method, r->uri);
1696 "cache invalidated by %s", r->method));

Completed in 4621 milliseconds

12