Defines | Functions

HttpCompat.cc File Reference

A brief file description. More...

#include "libts.h"
#include "HttpCompat.h"
#include "HdrUtils.h"
Include dependency graph for HttpCompat.cc:

Go to the source code of this file.

Defines

#define is_unquoted_separator(c)   ((c == sep) && !in_quote)

Functions

static bool does_language_range_match (const char *pattern, int pattern_len, const char *tag, int tag_len)

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file HttpCompat.cc.


Define Documentation

#define is_unquoted_separator (   c  )     ((c == sep) && !in_quote)

Function Documentation

static bool does_language_range_match ( const char *  pattern,
int  pattern_len,
const char *  tag,
int  tag_len 
) [inline, static]

Definition at line 490 of file HttpCompat.cc.

References ParseRules::ink_tolower().

Referenced by HttpCompat::match_accept_language().