TrawlerFetchReplyDataProtocolResponse

AI Overview😉

  • The potential purpose of this module is to analyze and store information about the protocol-specific response of a URL, including the response code, content type, and size of the content. This helps Google's algorithm understand the technical aspects of a webpage and how it can be crawled and indexed.
  • This module could impact search results by influencing how Google's algorithm assesses the credibility and reliability of a webpage. For example, if a webpage has a high response code (e.g., 500 - server unavailable), it may be deemed less reliable and thus ranked lower in search results. Conversely, a webpage with a fast response time and correctly configured headers may be considered more reliable and ranked higher.
  • To be more favorable for this function, a website can ensure that their web server is properly configured to return correct HTTP response codes, content types, and headers. This includes ensuring that the website is accessible and returns a 200 OK response code, using the correct content type (e.g., HTML, CSS, JavaScript), and optimizing the website's loading speed. Additionally, websites can ensure that their content is correctly compressed and that any truncation of content is handled properly.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.TrawlerFetchReplyDataProtocolResponse (google_api_content_warehouse v0.4.0)

Group with protocol specific response (determined by the protocol of the url that generated the content we return).

Attributes

  • Code (type: integer(), default: nil) - Response code. We emulate the HTTP response codes for all protocols that we know. -- HTTP: response code for the downloaded page. -- FTP: similar with HTTP: 200 - OK, 40X - errors (not found, etc), 500 - server unavailable
  • ContentType (type: String.t, default: nil) - Content type as inferred by the fetcher (webutil/http/content-type.proto)
  • CutoffSize (type: String.t, default: nil) - Where did we cut off? Includes headers plus truncated but uncompressed content. Present if and only if we truncated the document.
  • HttpVersion (type: String.t, default: nil) - DEPRECATED, see field 113. Stores the HTTP version we used in the final hop.
  • ProtocolVersionFallback (type: boolean(), default: nil) - DEPRECATED, see field 114. Whether we fallback from HTTP/2 to HTTP/1.1 during fetch. The fallback could happen in any hops and there can be at most one fallback because once fallback happens, we will not try HTTP/2 anymore.
  • UnTruncatedSize (type: String.t, default: nil) - The amount of data we got from the webserver before any truncation, but after undoing any HTTP gzip/deflate encoding. For HTTP, this includes headers and uncompressed content. Content size is excluded if content was not successfully fetched. See description above TotalFetchedSize for comparison.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.TrawlerFetchReplyDataProtocolResponse{
    Code: integer() | nil,
    ContentType: String.t() | nil,
    CutoffSize: String.t() | nil,
    HttpVersion: String.t() | nil,
    ProtocolVersionFallback: boolean() | nil,
    UnTruncatedSize: String.t() | nil
  }

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.