old_contents: import os
  
  __author__ = 'jakub'
  
  
  CONFIG_DIR = os.path.expanduser('~/.httpie')
  
new_contents: import os
  from requests.compat import  is_windows
  
  __author__ = 'jakub'
  
  
  CONFIG_DIR = (os.path.expanduser('~/.httpie') if not is_windows else
                os.path.expandvars(r'%APPDATA%\\httpie'))
  
subject: Use %APPDATA% for data on Windows.