From 15b30e1cde0baf50f0b212a2ca83d8e05341507f Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Sat, 18 Apr 2020 00:28:58 -0400 Subject: [PATCH] southwest: add channel id header (#64) --- southwest/southwest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/southwest/southwest.py b/southwest/southwest.py index 034d752..52b6e4e 100644 --- a/southwest/southwest.py +++ b/southwest/southwest.py @@ -29,7 +29,7 @@ class Reservation(): USER_EXPERIENCE_KEY = str(uuid.uuid1()).upper() # Pulled from proxying the Southwest iOS App - return {'Host': 'mobile.southwest.com', 'Content-Type': 'application/json', 'X-API-Key': API_KEY, 'X-User-Experience-Id': USER_EXPERIENCE_KEY, 'Accept': '*/*'} + return {'Host': 'mobile.southwest.com', 'Content-Type': 'application/json', 'X-API-Key': API_KEY, 'X-User-Experience-Id': USER_EXPERIENCE_KEY, 'Accept': '*/*', 'X-Channel-ID': 'MWEB'} # You might ask yourself, "Why the hell does this exist?" # Basically, there sometimes appears a "hiccup" in Southwest where things