HTTPEntityTag

from panda3d.core import HTTPEntityTag
class HTTPEntityTag

Bases: DTOOL_SUPER_BASE

A container for an “entity tag” from an HTTP server. This is used to identify a particular version of a document or resource, particularly useful for verifying caches.

Inheritance diagram

Inheritance diagram of HTTPEntityTag

__init__(*args, **kwargs)
assign()

C++ Interface: assign(const HTTPEntityTag self, const HTTPEntityTag copy)

compareTo()

C++ Interface: compare_to(HTTPEntityTag self, const HTTPEntityTag other)

/**
  • Returns a number less than zero if this HTTPEntityTag sorts before the

  • other one, greater than zero if it sorts after, or zero if they are

  • equivalent.

*/

compare_to()

C++ Interface: compare_to(HTTPEntityTag self, const HTTPEntityTag other)

/**
  • Returns a number less than zero if this HTTPEntityTag sorts before the

  • other one, greater than zero if it sorts after, or zero if they are

  • equivalent.

*/

getString()

C++ Interface: get_string(HTTPEntityTag self)

/**
  • Returns the entity tag formatted for sending to an HTTP server (the tag is

  • quoted, with a conditional W prefix).

*/

getTag()

C++ Interface: get_tag(HTTPEntityTag self)

/**
  • Returns the tag as a literal string.

*/

get_string()

C++ Interface: get_string(HTTPEntityTag self)

/**
  • Returns the entity tag formatted for sending to an HTTP server (the tag is

  • quoted, with a conditional W prefix).

*/

get_tag()

C++ Interface: get_tag(HTTPEntityTag self)

/**
  • Returns the tag as a literal string.

*/

isWeak()

C++ Interface: is_weak(HTTPEntityTag self)

/**
  • Returns true if the entity tag is marked as “weak”. A consistent weak

  • entity tag does not guarantee that its resource has not changed in any way,

  • but it does promise that the resource has not changed in any semantically

  • meaningful way.

*/

is_weak()

C++ Interface: is_weak(HTTPEntityTag self)

/**
  • Returns true if the entity tag is marked as “weak”. A consistent weak

  • entity tag does not guarantee that its resource has not changed in any way,

  • but it does promise that the resource has not changed in any semantically

  • meaningful way.

*/

output()

C++ Interface: output(HTTPEntityTag self, ostream out)

/**

*/

strongEquiv()

C++ Interface: strong_equiv(HTTPEntityTag self, const HTTPEntityTag other)

/**
  • Returns true if the two tags have “strong” equivalence: they are the same

  • tag, and both are “strong”.

*/

strong_equiv()

C++ Interface: strong_equiv(HTTPEntityTag self, const HTTPEntityTag other)

/**
  • Returns true if the two tags have “strong” equivalence: they are the same

  • tag, and both are “strong”.

*/

weakEquiv()

C++ Interface: weak_equiv(HTTPEntityTag self, const HTTPEntityTag other)

/**
  • Returns true if the two tags have “weak” equivalence: they are the same

  • tag, and one or both may be “weak”.

*/

weak_equiv()

C++ Interface: weak_equiv(HTTPEntityTag self, const HTTPEntityTag other)

/**
  • Returns true if the two tags have “weak” equivalence: they are the same

  • tag, and one or both may be “weak”.

*/