Questions tagged [if-none-match]

HTTP request-header field used with a method to make it conditional. It allows efficient updates of cached information with a minimum amount of transaction overhead.

33 questions
0
votes
1 answer

using ETag with Facebook but the status code is always 200 and not 304

When I try to call a request for the the https://graph.facebook.com/me/friends?fields=id,name,first_name,last_name,link,picture&access_token=MyAccessToken with the ETag I always get the request code as 200 every time. I made two back to back…
Peter T.
  • 8,757
  • 3
  • 34
  • 32
0
votes
1 answer

Understand the weak comparison function

HTTP 1.1 defines a weak comparison function for cache validators: in order to be considered equal, both validators MUST be identical in every way, but either or both of them MAY be tagged as "weak" without affecting the …
Markus Malkusch
  • 7,738
  • 2
  • 38
  • 67
-2
votes
1 answer

If is None in python

I am new to python and getting a syntax error with my first program. Can you please help correct the syntax? GET_CONTACT = "SELECT LINKEDIN_URL, CONTACT_ID from PERSON where LINKEDIN_URL=%s" def isContactExists(linkedinUrl): …
1 2
3