- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 125 for user_agent (0.19 sec)
-
src/main/java/org/codelibs/fess/helper/UserAgentHelper.java
public class UserAgentHelper { protected static final String USER_AGENT = "user-agent"; protected static final String USER_AGENT_TYPE = "ViewHelper.UserAgent"; public UserAgentType getUserAgentType() { return LaRequestUtil.getOptionalRequest().map(request -> { UserAgentType uaType = (UserAgentType) request.getAttribute(USER_AGENT_TYPE); if (uaType == null) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java
} final String userAgent = getUserAgent(); if (StringUtil.isNotBlank(userAgent)) { if (userAgent.startsWith(Constants.CRAWLING_USER_AGENT_PREFIX) && userAgent.endsWith(Constants.CRAWLING_USER_AGENT_SUFFIX)) { paramMap.put(Client.USER_AGENT, fessConfig.getUserAgentName()); } else { paramMap.put(Client.USER_AGENT, userAgent); } } else {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 10K bytes - Viewed (0) -
docs_src/header_params/tutorial001_an_py310.py
from typing import Annotated from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(user_agent: Annotated[str | None, Header()] = None):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 217 bytes - Viewed (0) -
docs_src/header_params/tutorial001_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(user_agent: Annotated[Union[str, None], Header()] = None):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 230 bytes - Viewed (0) -
docs_src/header_params/tutorial001_py310.py
from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(user_agent: str | None = Header(default=None)):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 182 bytes - Viewed (0) -
docs_src/header_params/tutorial001.py
from typing import Union from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(user_agent: Union[str, None] = Header(default=None)):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 214 bytes - Viewed (0) -
docs_src/header_params/tutorial001_an.py
from typing import Union from fastapi import FastAPI, Header from typing_extensions import Annotated app = FastAPI() @app.get("/items/") async def read_items(user_agent: Annotated[Union[str, None], Header()] = None):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 259 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java
public static final String PROXY_PORT = HcHttpClient.PROXY_PORT_PROPERTY; public static final String PROXY_HOST = HcHttpClient.PROXY_HOST_PROPERTY; public static final String USER_AGENT = HcHttpClient.USER_AGENT_PROPERTY; } // xpath.* public static class XPath { public static final String DEFAULT_LANG = "default.lang";
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
*/ package okhttp3.internal.http import java.io.IOException import okhttp3.Cookie import okhttp3.CookieJar import okhttp3.Interceptor import okhttp3.Response import okhttp3.internal.USER_AGENT import okhttp3.internal.toHostHeader import okio.GzipSource import okio.buffer /** * Bridges from application code to network code. First it builds a network request from a user
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (2) -
src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java
final SetOnce<Map<String, Object>> initParamMapSet = new SetOnce<>(); WebConfig webConfig = new WebConfig(); webConfig.setUserAgent(Constants.CRAWLING_USER_AGENT_PREFIX + "1.0" + Constants.CRAWLING_USER_AGENT_SUFFIX); CrawlerClientFactory crawlerClientFactory = webConfig.initializeClientFactory(() -> new CrawlerClientFactory() { public void setInitParameterMap(final Map<String, Object> params) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.5K bytes - Viewed (0)