Searched defs:method (Results 1 - 16 of 16) sorted by relevance

/httpd/modules/aaa/
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_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_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/modules/http/
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...]
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...]
/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 Dproxy_util.c386 uri, "\">", ap_escape_html(r->pool, r->method), "&nbsp;", uri,
1165 * NOTE: The default method is byrequests - if it doesn't
2274 * also the case via a remote proxy using the CONNECT method since the
3086 ap_proxy_hashfunc(const char *str, proxy_hash_t method) argument
3088 if (method == PROXY_HASHFUNC_APR) {
3092 else if (method == PROXY_HASHFUNC_FNV) {
3102 else { /* method == PROXY_HASHFUNC_DEFAULT */
3374 buf = apr_pstrcat(p, r->method, " ", url, " HTTP/1.0" CRLF, NULL);
3377 buf = apr_pstrcat(p, r->method, " ", url, " HTTP/1.1" CRLF, NULL);
/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);
/httpd/server/
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);
H A Dconfig.c462 AP_DECLARE(int) ap_method_is_limited(cmd_parms *cmd, const char *method) argument
466 methnum = ap_method_number_of(method);
469 * A method number either hardcoded into apache or
H A Dcore.c2139 char *method = ap_getword_conf(cmd->temp_pool, &limited_methods); local
2142 /* check for builtin or module registered method number */
2143 methnum = ap_method_number_of(method);
2149 /* method has not been registered yet, but resorce restriction
2150 * is always checked before method handling, so register it.
2153 apr_pstrdup(cmd->pool, method));
4191 "method other than those specified is used to access the resource"),
4606 /* We understood the (non-GET) method, but it might not be legal for
4612 method at this point is POST. In the future, we should enable
4621 "This resource does not accept the %s method
[all...]
/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...]
/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/include/
H A Dhttpd.h608 #define M_INVALID 26 /** no valid method */
619 * The method mask bit to shift for anding with a bitmask.
837 /* Request method, two ways; also, protocol, etc.. Outside of protocol.c,
843 /** Request method (eg. GET, HEAD, POST, etc.) */
844 const char *method; member in struct:request_rec
849 * A handler must ensure that the request method is one that
1279 /** Handle to be passed to external log provider's logging method */

Completed in 77 milliseconds