input: Write a function to edit the given Python program for making a correct API request and parsing the response. The function should include headers for authorization and content type, make a GET request to the specified URL, parse the JSON response, and print each user data from the response. If the response is not in the expected format or an error occurs, the function should print an appropriate message.
  assert correct_api_request("https://api.example.com/users", "Bearer YOUR_API_TOKEN")
  assert correct_api_request("https://api.example.com/invalid_url", "Bearer INVALID_TOKEN")
  assert correct_api_request("https://api.example.com/empty_response", "Bearer EMPTY_RESPONSE_TOKEN")
  assert correct_api_request("https://api.example.com/malformed_json", "Bearer MALFORMED_JSON_TOKEN")
  assert correct_api_request("https://api.example.com/users", "Bearer MISSING_TOKEN")
output: def correct_api_request(url, token):
      headers = {
          "Authorization": token,
          "Content-Type": "application/json"
      }
      try:
          response = requests.get(url, headers=headers)
          response.raise_for_status()
          data = response.json()
          if isinstance(data, list):
              for user in data:
                  print(user)
          else:
              print("Unexpected response format")
      except requests.exceptions.RequestException as e:
          print(f"Request error: {e}")
      except ValueError:
          print("Error parsing JSON response")